<?php
include 'header.php';
?>
				<div class='col-xs-4'>
					<div class='panel panel-primary'>
   						<div class='panel-heading'>
   							<div class='panel-title'>所有部门列表</div>
   						</div>
   						<table class='typeTable table table-bordered'>
   							<tr>
   								<th>名称</th>
   								<th>电话</th>
   								<th>操作</th>
   							</tr>
   							<?php foreach($branchs as $branch){?>
	   							<tr>
	   								<td><?php echo $branch['name'];?></td>
	   								<td><?php echo $branch['phone'];?></td>
	   								<td>
	   									<a href='ediBranch.php?branch_id=<?php echo $branch['id'];?>'>编辑</a>
	   									<a href='#delBranch<?php echo $branch['id'];?>' data-toggle='modal'>删除</a>
	   									<?php include 'del.php';?>
	   								</td>
	   							</tr>
	   						<?php }?>
   						</table>
   						<div class='panel-body'>
   							<a href='index.php' class='btn btn-default'>返回</a>
   						</div>
   					</div>
				</div>
			</div>
		</div>
	<script>
		$(function(){
			
		});
	</script>  
	</body>
</html>